##########################################
#      : http://e-proger.ru       #
#                          #
#            !!!       #    
#          !!!                 #
#    - support@e-proger.ru #
##########################################

1)
   .
2)
     SQL   .
3)
  pages/_acoount.php
case "bestref": include("pages/account/_bestref.php"); break; //  
case "bonus5": include("pages/account/_bonus5.php"); break; //  
case "bonus6": include("pages/account/_bonus6.php"); break; //  
case "bonus7": include("pages/account/_bonus7.php"); break; //  
case "bonus8": include("pages/account/_bonus8.php"); break; //  
4)
  inc/_user_menu.php 
<div class="field-gr gift"><a href="/account/bestref"> Partner</a></div>
5)
   .htaccess  
RewriteRule ^account/bestref(/?)+$ index.php?menu=account&sel=bestref [L]
RewriteRule ^account/bonus5(/?)+$ index.php?menu=account&sel=bonus5 [L]
RewriteRule ^account/bonus6(/?)+$ index.php?menu=account&sel=bonus6 [L]
RewriteRule ^account/bonus7(/?)+$ index.php?menu=account&sel=bonus7 [L]
RewriteRule ^account/bonus8(/?)+$ index.php?menu=account&sel=bonus8 [L]

----------------------------------------------------

  .
  .